﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RuntimeCheck
{
    public static void checkRuntime()
    {
        Globals.streamingPath = Application.streamingAssetsPath;
        Globals.persistenPath = Application.persistentDataPath;

#if !UNITY_ANDROID
        Globals.wwwStreamingPath = "file:///" + Globals.streamingPath;
        Globals.wwwPersistenPath = "file:///" + Globals.persistenPath;
#else
        Globals.wwwStreamingPath = Application.streamingAssetsPath;
        Globals.wwwPersistenPath = "file:///" + Application.persistentDataPath;
#endif
    }
}
